/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.colswedev.app.labhudson.view;

import Control.Constantes;
import Control.Controlador;
import org.colswedev.app.labhudson.control.CustomerControl;
import org.colswedev.app.labhudson.entity.Customer;

/**
 *
 * @author Leonardo Bohórquez
 */
public class NewMain {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
	Double amount = 100000.;
	System.out.println((Math.floor(Controlador.getInstance().ejecutar(Constantes.DIVISION, amount, 10000.)) * amount) - amount);
	Customer c = new Customer("Alan", "Brito", "abrito", "12345");
	CustomerControl cc = CustomerControl.getInstance();
	cc.create(c);
	System.err.println("Esta es una prueba de error");
	cc.delete(c);
    }
}
